<template>
    <div class="w750" style='background:#fff;'>
            <div class="message-det" v-if="MsgText != null">
                <div class="tit">{{MsgText.title}}</div>
                <div class="time-writer">
                    <span class="item">{{ MsgText.recDate | dateformat('YYYY-MM-DD HH:mm:ss')}}</span>
                    <!-- <span class="item">平台消息</span> -->
                </div>
                <div class="con">
                    <p class="con-txt"  v-html='MsgText.text'>{{MsgText.text}}</p>
                </div>
            </div>
            <Noempty :pic="require('../../../../../assets/images/mes-empty.png')"  :title="'信息为空'"  v-else />
    </div>
</template>

<script>
import { systemLoad } from "api/message";
import Noempty from 'components/Noempty/Noempty';
 export default {
   data () {
     return {
        MsgText: null
     }
   },
   mounted () {
       let that = this

       let msgId = this.$route.query.msgId
       systemLoad({
           msgId: msgId
       }).then(res => {
           if (res.status == 1) {
              if (res.result) {

                  this.MsgText = res.result
              }
           } else {

           }
       })
   },
   methods: {
   },
   components: {
       Noempty
   }
 }
</script>

<style src="../../../../../assets/css/message.css" scoped></style>

<style>
/* img {
    max-width: 100%!important;
} */
</style>

